package com.uaf.aes.annotation;

import org.springframework.web.bind.annotation.Mapping;

import java.lang.annotation.*;

/**
 * @author cailu
 * @filename AesSecurityAnnotation
 * @description
 * @date 2020/5/6 14:31
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Mapping
@Documented
public @interface AesSecurity {
	/**
	 * 入参是否解密，默认解密
	 */
	boolean inDecode() default true;

	/**
	 * 出参是否加密，默认加密
	 */
	boolean outEncode() default true;
}
